﻿namespace YDT_SeckillService.Applictions.DTOs
{
    /// <summary>
    /// 秒杀活动数据传输对象 - 用于API返回
    /// </summary>
    public class SeckillDto
    {
        public Guid Id { get; set; }
        /// <summary>秒杀时间主题URL</summary>
        public string TimeTitleUrl { get; set; } = string.Empty;
        /// <summary>秒杀日期</summary>
        public string SeckillDate { get; set; } = string.Empty;
        /// <summary>秒杀开始时间</summary>
        public string SeckillStartTime { get; set; } = string.Empty;
        /// <summary>秒杀结束时间</summary>
        public string SeckillEndTime { get; set; } = string.Empty;
        /// <summary>秒杀时间状态</summary>
        public string TimeStatus { get; set; } = string.Empty;
        /// <summary>创建时间</summary>
        public DateTime CreateTime { get; set; }
        /// <summary>更新时间</summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>秒杀商品列表</summary>
        public List<SeckillProductDto> SeckillProducts { get; set; } = new();
        /// <summary>活动状态</summary>
        public string ActivityStatus { get; set; } = string.Empty;
    }
}
